package com.hzsai.pojo;

import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;

/**
 * hzsai 2019/7/31
 * usage:
 **/
@Data
public class UserVO {

    @NotNull
    String username;

    @NotNull
    String password;

    @Range(min = 1, max = 150)
    int age;
}
